package com.lancoo.ccas52.pojo.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName TeachingTaskStatistics
 * @Description 教学任务统计
 * @Author quin
 * @Date 2023/3/7 11:44
 */
@Data
@Accessors(chain = true)
public class TeachingTaskStatistics implements Serializable {

    @ApiModelProperty("当前学期课程")
    private long courseNum;
    @ApiModelProperty("生成教学班的课程")
    private long teachingClassCourse;
    @ApiModelProperty("未生成教学班的课程")
    private long noTeachingClassCourse;
    @ApiModelProperty("院系课程统计")
    private List<CollegeGroup> courseCollegeGroup;


    @ApiModelProperty("学期环节")
    private long segmentNum;
    @ApiModelProperty("生成教学班环节")
    private long teachingClassSegment;
    @ApiModelProperty("未生成教学班环节")
    private long noTeachingClassSegment;
    @ApiModelProperty("院系环节统计")
    private List<CollegeGroup> segmentCollegeGroup;

    @Data
    @Accessors(chain = true)
    public static class CollegeGroup {

        @ApiModelProperty("学院id  开课单位")
        private String collegeId;

        private String collegeName;
        @ApiModelProperty("学期数量")
        private long num;
        @ApiModelProperty("已生成教学班数量")
        private long classNum;
        @ApiModelProperty("未生成教学班数量")
        private long noClassNum;
        @ApiModelProperty("生成教学班数量")
        private long teachingClassNum;
    }
}
